package com.zoro.barn.dto.login;


import java.io.Serializable;

/**
 * 普通账号密码登陆实体类
 *
 * @author zhaoxingwu
 */
public class PasswordUserDto implements Serializable {
    private static final long serialVersionUID = 457689663403735619L;
    private String pid;
    private String account;
    private String password;
    private String userName;
    private String token;
    private String refreshToken;

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getRefreshToken() {
        return refreshToken;
    }

    public void setRefreshToken(String refreshToken) {
        this.refreshToken = refreshToken;
    }

    @Override
    public String toString() {
        return "PasswordUserDto{" +
                "pid='" + pid + '\'' +
                ", account='" + account + '\'' +
                ", password='" + "***************" + '\'' +
                ", userName='" + userName + '\'' +
                ", token='" + token + '\'' +
                ", refreshToken='" + refreshToken + '\'' +
                '}';
    }
}
